// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
// import VueAxios from 'vue-axios'

// Vue.use(VueAxios, axios)
Vue.config.productionTip = false
import Vant from 'vant';
import 'vant/lib/index.css';
import request from '../static/request'

Vue.prototype.request = request
Vue.use(Vant);
//  过滤器
import * as filters from '../static/filter.js'
// vuex
import store from './store'

Object.keys(filters).forEach(key => {
        Vue.filter(key, filters[key])
    })
    /* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    components: { App },
    template: '<App/>'
})